Auto merge of #3664 - pwoolcoc:issue-3391, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 7 Feb 2017 20:08:02 +0000 (20:08 +0000)
committerbors <bors@rust-lang.org>
Tue, 7 Feb 2017 20:08:02 +0000 (20:08 +0000)
commitce9ddf3480f3028de9d406119863448b82301096
tree3b5b1f6c147616dbfe58c999ce012e3405a4e955
parentef00a5352d4c2eb6fa42c28b9e966299eb84feb2
parent952b0ab3e12b332fcc4237f5e4b87caf962e591b
Auto merge of #3664 - pwoolcoc:issue-3391, r=alexcrichton

Assume that a `build.rs` file is a build script

If cargo sees a `build.rs` file in the same directory as the current
`Cargo.toml`, it will assume that the `build.rs` file is a build script,
unless there is `build = false` in the  `Cargo.toml` file.

Closes #3391